package com.cx330;

import java.util.Scanner;

/**
 * JDK 14语法结构
 */
public class Example17_02 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入月份：");
        int month = input.nextInt();
        switch (month) {
//            case 3,4,5 -> System.out.println("春季");
//            case 6,7,8 -> System.out.println("夏季");
//            case 9,10,11 -> System.out.println("秋季");
//            case 12,1,2 -> System.out.println("冬季");
//            default -> throw new RuntimeException("你输入的月份有误！");
        }
        input.close();
    }
}
